package com.codeoss.framework.webide.response;

import java.util.List;
import java.util.Map;

import com.codeoss.framework.response.CommonResponse;
import com.codeoss.framework.util.ValueNamePair;

public class DevFormDesignerResponse extends CommonResponse {
	private String pageCode;
	private String name;
	private String componentModelJson;
	private String componentTreeModelJson;
	private Long currentComponentId;
	private List<ValueNamePair> tableList;
	
	private String fileContent;
	private String fileName;
	
	private List<Map<String,Object>> columnConfigList;
	private List<ValueNamePair> viewTypeList;
	private boolean treeTable;
	private List<ValueNamePair> fieldList;
	
	public String getPageCode() {
		return pageCode;
	}
	public void setPageCode(String pageCode) {
		this.pageCode = pageCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getComponentModelJson() {
		return componentModelJson;
	}
	public void setComponentModelJson(String componentModelJson) {
		this.componentModelJson = componentModelJson;
	}
	public String getComponentTreeModelJson() {
		return componentTreeModelJson;
	}
	public void setComponentTreeModelJson(String componentTreeModelJson) {
		this.componentTreeModelJson = componentTreeModelJson;
	}
	public Long getCurrentComponentId() {
		return currentComponentId;
	}
	public void setCurrentComponentId(Long currentComponentId) {
		this.currentComponentId = currentComponentId;
	}
	public List<ValueNamePair> getTableList() {
		return tableList;
	}
	public void setTableList(List<ValueNamePair> tableList) {
		this.tableList = tableList;
	}
	public String getFileContent() {
		return fileContent;
	}
	public void setFileContent(String fileContent) {
		this.fileContent = fileContent;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public List<Map<String, Object>> getColumnConfigList() {
		return columnConfigList;
	}
	public void setColumnConfigList(List<Map<String, Object>> columnConfigList) {
		this.columnConfigList = columnConfigList;
	}
	public List<ValueNamePair> getViewTypeList() {
		return viewTypeList;
	}
	public void setViewTypeList(List<ValueNamePair> viewTypeList) {
		this.viewTypeList = viewTypeList;
	}
	public boolean isTreeTable() {
		return treeTable;
	}
	public void setTreeTable(boolean treeTable) {
		this.treeTable = treeTable;
	}
	public List<ValueNamePair> getFieldList() {
		return fieldList;
	}
	public void setFieldList(List<ValueNamePair> fieldList) {
		this.fieldList = fieldList;
	}
}
